import QS from 'qs';
import { AxiosRequestConfig } from 'axios';

export default {
  baseURL: '/api',
  method: 'GET',
  headers: {
    'Content-Type': 'application/json',
    Accept: 'application/json'
  },
  params: {},
  withCredentials: false,
  responseType: 'json',
  paramsSerializer: params => QS.stringify(params)
} as AxiosRequestConfig;
